<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />

    <!-- 当前页页公共 -->
    <link rel="stylesheet" href="src/css/login.css" />

    <style>
        html,
        body {
            height: 100%;
        }

        .one {
            line-height: 30px;
            height: 30px;
            padding: 5px;
        }
    </style>
</head>

<body>

    <div v-cloak class="container" id="app">
        <m-login-card class="my-card" title="用户登陆 Login">



            <div style="width:400px;">
                <div class="input_wrap mt_30">
                    <label for="" class="fl input_title">用户名</label>
                    <div class="fr input_main">
                        <input type="text" v-model="form.loginName" class="input_item" placeholder="请输入用户名" />
                    </div>
                </div>

                <div class="input_wrap">
                    <label for="" class="fl input_title">密 码</label>
                    <div class="fr input_main">
                        <input type="password" v-model="form.pwd" class="input_item" placeholder="请输入登陆密码" />
                    </div>
                </div>



                <div class="input_wrap">
                    <label for="" class="fl input_title">验证码</label>
                    <div class="fr input_main check_code_main">
                        <input type="text" v-model="form.checkCode" class="input_item checkCode" placeholder="请输入图片中的验证码" />
                        <img :src="verifyCode" class="input_item checkCodeImage" alt="" @click="changeVerifyCode" />
                    </div>
                </div>

                <div class="input_wrap mtb_5 clearfix">
                    <div class="fr input_main">
                        <label class="chk" for="quickLogin">
                            <input v-model="form.quickLogin" type="checkbox" id="quickLogin" name="quickLogin" />
                            <i>✓</i>记住登陆状态
                        </label>
                    </div>
                </div>

                <div class="input_wrap mt_0">
                    <div class="fr input_main btns_wrap">
                        <button class="m_btn m_btn_large m_green fl" v-on:click="submit">登 陆</button>
                        <button class="m_btn m_btn_large fr" v-on:click="resetGo">重 置</button>
                    </div>

                </div>

            </div>

        </m-login-card>

    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>
    <script src="../page/src/config.js"></script>
    <script src="../boot.js"></script>


    <!-- 后期转为异步组件 -->
    <script src="../src/lib/jquery.backstretch.min.js"></script>

    <script>
        $(function () {
            seajs.use('./login.js');

            $.backstretch(["src/image/1.jpg ", "src/image/2.jpg ", "src/image/3.jpg"], { //"src/image/1.jpg ", "src/image/2.jpg ", "src/image/3.jpg"
                duration: 1000,
                fade: 750
            });
        })
    </script>
</body>

</html>